-
Couldn't load subscription status.
- Fork 514
WWSTCERT-8242 Add support to frient heat detector #2447
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
WWSTCERT-8242 Add support to frient heat detector #2447
Conversation
|
Duplicate profile check: Passed - no duplicate profiles detected. |
|
Invitation URL: |
|
Minimum allowed coverage is Generated by 🐒 cobertura-action against 8d27a56 |
Test Results 71 files 459 suites 0s ⏱️ Results for commit 8d27a56. ♻️ This comment has been updated with latest results. |
| if device:supports_capability(capabilities.smokeDetector) then | ||
| device:emit_event(smokeDetector.smoke.clear()) | ||
| end | ||
| device:send(cluster_base.read_manufacturer_specific_attribute(device, Basic.ID, DEVELCO_BASIC_PRIMARY_SW_VERSION_ATTR, DEVELCO_MANUFACTURER_CODE)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: whitespace
| @@ -0,0 +1,567 @@ | |||
| -- Copyright 2022 SmartThings | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
date
|
We'd like to see a higher code coverage value from the tests. |
…com/marcintyminski/SmartThingsEdgeDrivers into Add-support-to-frient-heat-detector
| if device:supports_capability(capabilities.temperatureAlarm) then | ||
| device:emit_event(temperatureAlarm.temperatureAlarm.cleared()) | ||
| end | ||
| if device:supports_capability(capabilities.smokeDetector) then | ||
| device:emit_event(smokeDetector.smoke.clear()) | ||
| end |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe this branch is where you're lacking code coverage. We have a way to set up delayed events tests.
Check all that apply
Type of Change
Checklist
Description of Change
Summary of Completed Tests